package cn.jilian.meta.service.impl;

import cn.jilian.entity.Meta;
import cn.jilian.meta.service.ExtjsService;

public class Extjs3ServiceImpl implements ExtjsService {

	public static final String NEWLINE="\r\n";
	@Override
	public String genGridJs(Meta meta) {
		StringBuilder sb=new StringBuilder("");
		return null;
	}
	
	private void genPagingToolBar(StringBuilder sb) {
		
	}
	
	private void genSelModel(StringBuilder sb) {
		
	}
	
	private void genForm(StringBuilder sb) {
		
	}
	
	private void genQueryStoreJs(Meta meta,StringBuilder sb) {
		sb.append("Ext.data.JsonStore({").append(NEWLINE);
		
		sb.append("url:");
		
		sb.append("})");
	}

	@Override
	public String genQueryStoreJs(Meta meta) {
		
		return null;
	}
	
	

}
